package com.kuzlak.cms.config;


import com.kuzlak.cms.bean.LoginTime;
import com.kuzlak.cms.module.sys.entity.SysLoginLog;
import com.kuzlak.cms.module.sys.entity.SysUsers;

import java.util.HashMap;
import java.util.Map;


public class ConstantHeader {

    private static String lang;
    private static int terminal;
    private static SysLoginLog adminToken;

    private static SysUsers users;

    private static Map<String, Object> setting;



    private static Map<String, LoginTime> loginTime = new HashMap<>();

    private static String ip;
    private static String version;
    private static String pathUrl;

    public static String getIp() {
        return ip;
    }

    public static void setIp(String ip) {
        ConstantHeader.ip = ip;
    }


    public static String getLang() {
        return lang;
    }

    public static void setLang(String lang) {
        ConstantHeader.lang = lang;
    }

    public static int getTerminal() {
        return terminal;
    }

    public static void setTerminal(int terminal) {
        ConstantHeader.terminal = terminal;
    }

    public static SysLoginLog getAdminToken() {
        return adminToken;
    }

    public static void setAdminToken(SysLoginLog adminToken) {
        ConstantHeader.adminToken = adminToken;
    }

    public static SysUsers getUsers() {
        return users;
    }

    public static void setUsers(SysUsers users) {
        ConstantHeader.users = users;
    }

    public static String getVersion() {
        return version;
    }

    public static void setVersion(String version) {
        ConstantHeader.version = version;
    }

    public static Map<String, Object> getSetting() {
        return setting;
    }

    public static void setSetting(Map<String, Object> setting) {
        ConstantHeader.setting = setting;
    }


    public static Map<String, LoginTime> getLoginTime() {
        return loginTime;
    }

    public static void setLoginTime(Map<String, LoginTime> loginTime) {
        ConstantHeader.loginTime = loginTime;
    }

    public static String getPathUrl() {
        return pathUrl;
    }

    public static void setPathUrl(String pathUrl) {
        ConstantHeader.pathUrl = pathUrl;
    }
}
